package com.rt.system.domain;

import com.rt.common.annotation.Excel;
import com.rt.common.core.domain.BaseEntity;

/**
 * 题型模块对象 rt_question_type_module
 * 
 * @author Yg
 * @date 2022-04-13
 */
public class RtQuestionTypeModule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 题型名称 */
    @Excel(name = "题型名称")
    private String name;

    /** 科目id */
    @Excel(name = "科目id")
    private Long subjectId;

    /** 科目 */
    @Excel(name = "科目")
    private String subject;

    /** 题型id */
    @Excel(name = "题型id")
    private Long questionTypeId;

    /** 题型 */
    @Excel(name = "题型")
    private String questionType;

    /** 状态，0：禁用，1：启用（默认） */
    @Excel(name = "状态", readConverterExp = "0=禁用,1=启用")
    private Integer status;

    /** 创建人 */
    private String createOperator;

    /** 修改人 */
    private String updateOperator;

    public String getCreateOperator() {
        return createOperator;
    }

    public void setCreateOperator(String createOperator) {
        this.createOperator = createOperator;
    }

    public String getUpdateOperator() {
        return updateOperator;
    }

    public void setUpdateOperator(String updateOperator) {
        this.updateOperator = updateOperator;
    }

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setQuestionTypeId(Long questionTypeId) 
    {
        this.questionTypeId = questionTypeId;
    }

    public Long getQuestionTypeId() 
    {
        return questionTypeId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return "RtQuestionTypeModule{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", subjectId=" + subjectId +
                ", questionTypeId=" + questionTypeId +
                ", status=" + status +
                '}';
    }
}
